package com.example.lifecycle.base;

import android.arch.lifecycle.LifecycleFragment;


public class BaseFragment extends LifecycleFragment {



    @Override
    public void onPause() {
        super.onPause();
        System.out.println("#### " + getClass().getSimpleName() + "  onPause  " );
    }

    @Override
    public void onStop() {
        super.onStop();
        System.out.println("#### " + getClass().getSimpleName() + "  onStop  " );
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        System.out.println("#### " + getClass().getSimpleName() + "  onDestroy  ");
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        System.out.println("#### " + getClass().getSimpleName() + "  onDestroyView  ");
    }

    @Override
    public void onHiddenChanged(boolean hidden) {
        super.onHiddenChanged(hidden);
        System.out.println("#### " + getClass().getSimpleName() + "  onHiddenChanged  " + isHidden());
    }


}
